/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ws;

/**
 *
 * @author Lorenzo
 */
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "set-visit")
// JAX-RS supports an automatic mapping from JAXB annotated class to XML 
public class NewVisitHandler implements ServiceHandler {
    
    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getDoctor_id() {
        return doctor_id;
    }

    public void setDoctor_id(String doctor_id) {
        this.doctor_id = doctor_id;
    }

    public String getPatient_id() {
        return patient_id;
    }

    public void setPatient_id(String patient_id) {
        this.patient_id = patient_id;
    }

    private String doctor_id;
    private String patient_id;
    private String description;
    private String date;
}